home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Personal Computer World 2007 September
/
PCWSEP07.iso
/
Software
/
Linux
/
Linux Mint 3.0 Light
/
LinuxMint-3.0-Light.iso
/
casper
/
filesystem.squashfs
/
usr
/
bin
/
mint-compress
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
2007-05-16
|
289 b
|
16 lines
#!/usr/bin/env python
import sys
import os
directory = sys.argv[1]
directory = str.strip(directory)
directory = str.replace(directory, "/", "")
mintfile = directory + ".mint"
os.chdir(directory)
os.system("tar cvf file *")
os.system("gzip file")
os.system("mv file.gz ../" + mintfile)